GET /api/v1/libraries/{libraryname}[?parts={string}]
| Name | Value Type | Use | Description | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| parts | string | optional | The 'parts' URI query parameter, which is an optional parameter. Clients can use it to specify a list of one or more parts to be returned in the response data for a particular request.
The value of the parts parameter is a "|"-delimited list of part names.
In addition to specific part names, you can also specify "all" or "none". If the parts parameter is not specified, the default value "all" is used.
|
None.
The default content-type is application/xml.
(Schema to go here)
[ {
"id" : "{Library identifier}",
"uri" : "{Library URI}",
"name" : "{Library name}",
"version" : "{Library version}",
"creationDate" : "2017-02-28T17:39:57.614Z",
"content" : [ "{Library content}", "..." ]
} ]
<?xml version="1.0" encoding="UTF-8"?><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="" version="1.0">
<xs:element name="libraries" type="libraries"/>
<xs:element name="library" type="library"/>
<xs:complexType name="libraries">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="library"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="library">
<xs:sequence>
<xs:element minOccurs="0" name="id" type="xs:string"/>
<xs:element minOccurs="0" name="uri" type="xs:string"/>
<xs:element minOccurs="0" name="name" type="xs:string"/>
<xs:element minOccurs="0" name="version" type="xs:string"/>
<xs:element minOccurs="0" name="creationDate" type="xs:string"/>
<xs:element maxOccurs="unbounded" minOccurs="0" name="content" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<libraries>
<library>
<id>{Library identifier}</id>
<uri>{Library URI}</uri>
<name>{Library name}</name>
<version>{Library version}</version>
<creationDate>2017-02-28T16:39:57.614Z</creationDate>
<content>{Library content}</content>
<content>...</content>
</library>
</libraries>
| Code | Description |
|---|---|
| 200 | Successful completion. |
| 204 | Successful completion, no content available. |
| 400 | The parameters are not valid or they are missing. |
| 401 | The caller is not authorized for this request. |
| 403 | The caller is not allowed to complete this request. |
| 404 | The resource does not exist. |
| 406 | The requested content type or content encoding is not supported. |
| 500 | A severe problem has occurred, programmer's details are provided. |
8.0.1.0
Parent Topic: libraries/{libraryname} Resource